package com.service.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.service.dao.model.OtcOrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-18 10:15:22
 */
@Mapper
public interface OtcOrderDetailMapper extends BaseMapper<OtcOrderDetail> {

    BigDecimal selectMaxPriceOtcOrderByDate(@Param("coinsId") Integer coinsId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);

    BigDecimal selectMinPriceOtcOrderByDate(@Param("coinsId") Integer coinsId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);


}
